{% extends "@admin/index.twig" %}

{% set title = 'Запитвания' %}

    {% block content %}
        {% if message is defined %}
            <div class="alert {{ message.type }}">
                <button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>
                {{ message.text }}
            </div>
        {% endif %}

        <div class="mails" style="padding-bottom: 20px;">
            <legend class="col-md-10">Запитванe № {{ Mail.id }}</legend>
            <br/>

            <table class="table table-bordered">
                <tbody>
                    <tr>
                        <th width='100'>Подател</th>
                        <td>{{ Mail.name }}</td>
                    </tr>
                    <tr>
                        <th>Имейл</th>
                        <td>{{ Mail.email }}</td>
                    </tr>
                    <tr>
                        <th>Телефон</th>
                        <td>{{ Mail.phone }}</td>
                    </tr>
                    <tr>
                        <th>Текст</th>
                        <td>{{ Mail.text }}</td>
                    </tr>
                </tbody>
            </table>
            <br />
        </div>
    {% endblock content %}